package com.test.qpbgboot.backend.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class BackendAccount {
    @ApiModelProperty(value = "管理员账号id")
    private Long id;
    @ApiModelProperty(value = "商家id")
    private Long merchantId;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "状态 0禁用 1启用")
    private String status;
    @ApiModelProperty(value = "用户类型 0平台管理员 1商家管理员")
    private String type;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "最后一次登录时间")
    private Date lastLoginTime;
    @ApiModelProperty(value = "登录次数")
    private Integer loginCount;
}
